/*
 * Copyright 2020-2025 the original author or authors.
 * You cannot use this file unless authorized by the author.
 */
package org.ipig.model;

import lombok.Data;
import lombok.ToString;
import org.ipig.constants.DataCnst;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 连接器conf
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @version $$Id: ConnectorConf.java 3 2020-01-21 09:36:33Z ts <comchnts@163.com> $$
 * @since 1.0
 */
@Data
@ToString
public class ConnectorConf implements Serializable {
    //唯一编码
    private String code;
    //功能说明
    private String title;
    //数据源类型
    private String connType = "";
    //类
    private String connClass = "";
    //类实例的JSON串
//    private String connJson = "";
    private Object connJson = "";
    //调试标识 默认关闭
    private Boolean debugEnable = Boolean.valueOf(false);
    //逻辑删除标识
    private String deletedFlag = DataCnst.FLAG_NORMAL;
    //createTime
    private String createTime;
    //creatorId
    private String creatorId;
    //modifyTime
    private String modifyTime;
    //modifierId
    private String modifierId;
    // 其它属性
    private Map<String, Object> props = new HashMap<String, Object>();
}